<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>网站信息</title>  
    <link rel="stylesheet" href="/Public/Admin/css/pintuer.css">
    <link rel="stylesheet" href="/Public/Admin/css/admin.css">
    <script src="/Public/Admin/js/jquery.js"></script>
    <script src="/Public/Admin/js/pintuer.js"></script>  
    <script src="/Public/js/jquery-2.1.1.min.js"></script>  
    <script src="/Public/js/layer/layer.js"></script>
</head>
<body>
<div class="panel admin-panel">
 <form method="post" action="{:U('Ordersjifen/index')}" id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 订单列表</strong> </div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li>搜索：</li>
    
        <li>
		  <input type="hidden" name="id" value="{$post.id}">
          <input type="text" value="{$post.order_no}" placeholder="模糊查询订单号" name="order_no" class="input" style="width:250px; line-height:17px;display:inline-block" />
         
		</li>
		<li>状态：</li>
		<li>
			<select name="type" class="button border-main icon-search">
				<option value="0">请选择</option>
				<option value="-1">未支付</option>
				<option value="1">已支付</option>
				<option value="2">配送中</option>
				<option value="3">已完成</option>
				<option value="4">售后</option>
			</select>
			 <input type="submit" class="button border-main icon-search" value="搜索">
		</li>
      </ul>
    </div>
	<div class="table-responsive">
    <table class="table table-hover text-center">
      <thead>
		<tr>
			<th >成交编号</th>
			<th >订单号</th>
			<th >买家微信名</th>
			<th >订单总计</th>
			<th >邮费</th>
			<th >下单时间</th>
			<th >支付时间</th>
			<th >状态</th>
			<th >操作</th>
		</tr>
      </thead>
	  <tbody>
      <volist name="list" id="vo" key='k'>
        <tr>
          
          <td>{$k}</td>
          <td>{$vo.order_no}</td>
          <td>{$vo['nickname']}</td>
          <td>{$vo.total_money}</td>
          <td>{$vo.send_money}</td>
          <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
          <td><empty name="vo['pay_time']" >未支付<else/>{$vo.pay_time|date="Y-m-d H:i:s",###}</empty></td>
          <td>
			<switch name="vo['order_status']">
				<case value="-1">未支付</case>
				<case value="1">已支付</case>
				<case value="2">已发货</case>
				<case value="3">已完成</case>
				<case value="4">售后</case>
			</switch>
		  </td>
          <td><a href="{:U('Ordersjifen/detail',array('order_id'=>$vo['order_id']))}"  class="button border-red icon-trash-o">查看详情</a>
				</td>
        </tr>
   	  </volist>
       </tbody> 
    </table>
	</div>
  </div>
</form>
  <div class="pagelist"> <ul>{$page}</ul></div>
</div>


</body></html>